
<div class="order-by">Show results by: 

	<? if($this->validation->search_order_by == 'name'): ?>
	<span>Name</span> | 
	<? else: ?>
	<a href="javascript:void(0)" onclick="searchOrderBy('name')">Name</a> | 
	<? endif; ?>

	<? if($this->validation->search_order_by == 'rating'): ?>
	<span>Rating</span> | 
	<? else: ?>
	<a href="javascript:void(0)" onclick="searchOrderBy('rating')">Rating</a> | 
	<? endif; ?>

	<? if($this->validation->search_order_by == 'prices'): ?>
	<span>Prices</span> | 
	<? else: ?>
	<a href="javascript:void(0)" onclick="searchOrderBy('prices')">Prices</a> | 
	<? endif; ?>

	<? if($this->validation->search_order_by == 'location'): ?>
	<span>Location</span>
	<? else: ?>
	<a href="javascript:void(0)" onclick="searchOrderBy('location')">Location</a>
	<? endif; ?>

</div>
